{admin title=$pagetitle}
<form action="/navigation/edit/nav_id/{$nav_id}/role_id/{$role_id}" method="post">

	<label for="parent_id">Parent Item</label>
	<select name="parent_id" id="parent_id">
		<option value="0">None</option>
		{include file="file:$current_path/_role_option.tpl" items=$parent_choices}
	</select>

{*
	<label for="group">Group</label>
	<select name="group_select" id="group_select">
		<option value=""></option>
		{foreach from=$group_choices item=group_choice key=index}
			<option value="{$group_choice.group}">{$group_choice.group}</option>
		{/foreach}
		<option value="">Create New...</option>
	</select>
	<input type="hidden" name="group_text" id="group_text" value="{$group}" />
*}
		
	<label for="short_name">Short Name</label>
	<input name="short_name" id="short_name" value="{$short_name}" />

	<label for="link_text">Link Text</label>
	<input name="link_text" id="link_text" value="{$link_text}" />

	<label for="url">URL</label>
	<input name="url" id="url" value="{$url}" />

	<input type="hidden" name="nav_id" value="{$nav_id}" />
	<input type="hidden" name="role_id" value="{$role_id}" />
	
	<p><input type="submit" class="button save" value="Save"/></p>
	<br class="clearfix"/>
	
</form>
{/admin}
